package com.example.aqarapp.entity;


import androidx.annotation.Nullable;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.chad.library.adapter.base.entity.node.BaseExpandNode;
import com.chad.library.adapter.base.entity.node.BaseNode;

import java.util.List;

public class OneBean  extends BaseNode {

    public List<BaseNode> childNode;
    public String title;

    public OneBean() {
    }

    public OneBean(List<BaseNode> childNode, String title) {
        this.childNode = childNode;
        this.title = title;

    }

    public void setChildNode(List<BaseNode> childNode) {
        this.childNode = childNode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Nullable
    @Override
    public List<BaseNode> getChildNode() {
        return childNode;
    }
}
